package com.goldgov.code.service;

import java.util.List;

import com.goldgov.code.meta.FieldInfo;

public interface FieldService {
	
	void addField(FieldInfo field);
	
	void updateField(FieldInfo field);
	
	void deleteField(String[] ids);
	
	FieldInfo getField(String id);
	
	List<FieldInfo> listField(String moduleID);
	
	long countField(int firstRow, int maxResult);

	void updateConstraintList(String fieldID, boolean isTrue);

	void updateConstraintRequired(String fieldID, boolean isTrue);

	void updateConstraintQueryType(String fieldID, String queryType);

}